@import "~pc/styles/lib_var.less";

.memberInfoWrapper {
  max-width: 400px;
  max-height: 400px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .portrait {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    margin-bottom: 16px;
    text-align: center;
    img {
      width: 100%;
      height: 100%;
    }
  }
  .nameAndTag {
    margin-bottom: 24px;
    position: relative;
    min-height: 24px;

    .identityWrap {
      position: absolute;
      right: 0;
      top: 1px;
      transform: translateX(100%);
      text-align: center;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .identity {
      padding: 0 4px;
      margin-left: 4px;
    }
  }

  .infoItem {
    min-height: 30px;
    margin-bottom: 10px;
    width: 100%;
    display: flex;
    .infoTitle {
      font-size: 12px;
      color: var(--secondLevelText);
      margin-right: 15px;
      width: 140px;
      text-align: right;
    }
    .infoDetail {
      flex: 1;
      color: var(--firstLevelText);
      font-size: 12px;
      word-break: break-word;
      position: relative;
      display: block;
    }

    .teamInfo {
      margin: 0;
      line-height: 18px;
      font-style: normal;
      font-weight: normal;
      font-size: 12px;
    }

    .emptyDetail {
      color: var(--fourthLevelText);
    }
  }
  .nameItemContent {
    width: 100%;
    display: flex;
    align-items: center;
    .memberName {
      flex: 1;
    }

    .editIcon {
      width: 16px;
      height: 16px;
      min-width: 16px;
      margin-left: 4px;
      color: var(--fc1);
    }
  }
  .input {
    position: absolute;
    top: -7px;
    height: calc(100% + 7px);
  }
  .input.err,
  .input.err:focus,
  .ant-input.input.err:focus {
    border-color: var(--errorColor) !important;
  }
}
